div:nth-of-type(odd) {
  background-color: blue;
}